<p>search works!</p>
<div class="search">
    <input type="text" [(ngModel)]="keyword"> <button (click)="doSearch()">搜索</button>
    <hr>
    <ul>
        <li *ngFor="let item of historyList;let key=index;">
            {{item}}------ <button (click)="doDelete(key)">x</button>
        </li>
    </ul>
</div>

